package cn.wolfcode.designpattern.bridge;

import java.math.BigDecimal;

/**
 * @author Leon
 * @date 2021/2/23
 */
public class Client {

    public static void main(String[] args) {
//        Pay pay1 = new WechatPay(new CypherPayMode());
//        pay1.pay("001", "10002139804700990", new BigDecimal("1000.00"));

        Pay pay2 = new BankPay(new FingerprintPayMode());
        pay2.pay("002", "10002139804788200", new BigDecimal("1020.00"));
    }
}
